<div><a class="list" href="<?php echo base_url();?>index.php/administrator/device/index">+ List Device</a> ->List Device </div>
<br />
<div id="page_list">
    <h2><?php echo $data;?></h2>
   
<?php 
    echo form_open('index.php/administrator/device/edit/'.$dataPost['device_id']); 
?>
<div class="form">
    <div class="separator"></div>     
            <span class="relative">
                <label><?php echo form_label('Name :'); ?> </label>
                <input type="text" class="inputbox" name="d_name" value="<?php echo htmlspecialchars($dataPost['d_name']);?>"/>
                        <?php 
                        echo form_error('d_name'); 
                       ?>               
            </span>
            
            <span class="relative">
                <label><?php echo form_label('Image Dir :'); ?> </label>
                <input type="text" class="inputbox" name="d_imageDir" value="<?php echo htmlspecialchars($dataPost['d_imageDir']);?>"/>
                       <?php 
                       // echo form_input('d_imageDir',$dataPost['d_imageDir']) ; 
                        echo form_error('d_imageDir'); 
                        ?>
            </span>
          
            <span class="relative">
                <label><?php echo form_label('Border left Height :'); ?></label>
                <input type="text" class="inputbox" name="d_borderLeftHeight" value="<?php echo htmlspecialchars($dataPost['d_borderLeftHeight']);?>"/>
                        <?php 
                        echo form_error('d_borderLeftHeight'); 
                        ?>
            </span>
            <span class="relative">
                <label><?php echo form_label('Border left Width :'); ?> </label>
                 <input type="text" class="inputbox" name="d_borderLeftWidth" value="<?php echo htmlspecialchars($dataPost['d_borderLeftWidth']);?>"/>
                        <?php 
                        echo form_error('d_borderLeftWidth'); 
                        ?>
            </span>
            
            <span class="relative">
                <label><?php echo form_label('Border Top Height :'); ?> </label>
                 <input type="text" class="inputbox" name="d_borderTopHeight" value="<?php echo htmlspecialchars($dataPost['d_borderTopHeight']);?>"/>
                        <?php 
                        echo form_error('d_borderTopHeight'); 
                        ?>
            
            </span>
            
            <span class="relative">
                <label><?php echo form_label('Border Bottom Height :'); ?> </label>
                <input type="text" class="inputbox" name="d_borderBottomHeight" value="<?php echo htmlspecialchars($dataPost['d_borderBottomHeight']);?>"/>
                        <?php 
                        echo form_error('d_borderBottomHeight'); 
                        ?>
             
            </span>
            
            <span class="relative">
                <label><?php echo form_label('Width :'); ?> </label>
                 <input type="text" class="inputbox" name="d_width" value="<?php echo htmlspecialchars($dataPost['d_width']);?>"/>
                        <?php 
                        echo form_error('d_width'); 
                        ?>
             
            </span>
            
            <span class="relative">
                <label><?php echo form_label('Height :'); ?> </label>
                 <input type="text" class="inputbox" name="d_height" value="<?php echo htmlspecialchars($dataPost['d_height']);?>"/>
                        <?php                       
                        echo form_error('d_height'); 
                        ?>
            
            </span>
            
            <span class="relative">
                <label><?php echo form_label('WidthL :'); ?> </label>
                 <input type="text" class="inputbox" name="d_widthL" value="<?php echo htmlspecialchars($dataPost['d_widthL']);?>"/>
                        <?php 
                        echo form_error('d_widthL'); 
                        ?>            
            </span>
            
            <span class="relative">
                <label><?php echo form_label('HeightL :'); ?> </label>
                 <input type="text" class="inputbox" name="d_heightL" value="<?php echo htmlspecialchars($dataPost['d_heightL']);?>"/>
                       <?php             
                       echo form_error('d_heightL'); 
                       ?>
            </span>
            
            <span class="relative">
                <label><?php echo form_label('Top Height :'); ?> </label>
                <input type="text" class="inputbox" name="d_topHeight" value="<?php echo htmlspecialchars($dataPost['d_topHeight']);?>"/>
                         <?php                         
                        echo form_error('d_topHeight'); 
                        ?>

            </span>
            
            <span class="relative">
                <label><?php echo form_label('Cover Height :'); ?> </label>
                 <input type="text" class="inputbox" name="d_coverHeight" value="<?php echo htmlspecialchars($dataPost['d_coverHeight']);?>"/>
                       <?php                     
                        echo form_error('d_coverHeight'); 
                        ?>

            </span>
            
            <span class="relative">
                <label><?php echo form_label('Bottom Height :'); ?> </label>
                 <input type="text" class="inputbox" name="d_bottomHeight" value="<?php echo htmlspecialchars($dataPost['d_bottomHeight']);?>"/>
                        <?php                        
                        echo form_error('d_bottomHeight'); 
                        ?>
            </span>
            
            <span class="relative">
                <label><?php echo form_label('Shadow Height :'); ?> </label>
                 <input type="text" class="inputbox" name="d_shadowHeight" value="<?php echo htmlspecialchars($dataPost['d_shadowHeight']);?>"/>
                        <?php                   
                        echo form_error('d_shadowHeight'); 
                        ?> 
            </span>
            
            <span class="relative">
                <label><?php echo form_label('Arrow Width :'); ?> </label>
                 <input type="text" class="inputbox" name="d_arrowWidth" value="<?php echo htmlspecialchars($dataPost['d_arrowWidth']);?>"/>
                         <?php                       
                        echo form_error('d_arrowWidth'); 
                        ?>
            </span>
            
            <span class="relative">
                <label><?php echo form_label('Arrow Height :'); ?> </label>
                 <input type="text" class="inputbox" name="d_arrowHeight" value="<?php echo htmlspecialchars($dataPost['d_arrowHeight']);?>"/>
                        <?php                        
                        echo form_error('d_arrowHeight'); 
                        ?>
            </span>
            
            <span class="relative">
                <label><?php echo form_label('Bottons Height :'); ?> </label>
                 <input type="text" class="inputbox" name="d_buttonsHeight" value="<?php echo htmlspecialchars($dataPost['d_buttonsHeight']);?>"/>
                      <?php                         
                        echo form_error('d_buttonsHeight'); 
                      ?>
            </span>
            
            <span class="relative">
                <label><?php echo form_label('Side Buttons Width :'); ?> </label>
                 <input type="text" class="inputbox" name="d_sideButtonsWidth" value="<?php echo htmlspecialchars($dataPost['d_sideButtonsWidth']);?>"/>
                    <?php                       
                        echo form_error('d_sideButtonsWidth'); 
                    ?>
            </span>
            
            <span class="relative">
                <label><?php echo form_label('Button DL Width :'); ?> </label>
                 <input type="text" class="inputbox" name="d_buttonDLWidth" value="<?php echo htmlspecialchars($dataPost['d_buttonDLWidth']);?>"/>
                    <?php 
                        echo form_error('d_buttonDLWidth'); 
                    ?>
            </span>
            
            <span class="relative">
                <label><?php echo form_label('Logo Max Width :'); ?> </label>
                 <input type="text" class="inputbox" name="d_logoMaxWidth" value="<?php echo htmlspecialchars($dataPost['d_logoMaxWidth']);?>"/>
                     <?php 
                        echo form_error('d_logoMaxWidth'); 
                     ?>
            </span>
            
            <span class="relative">
                <label><?php echo form_label('Logo Max Height :'); ?> </label>
                 <input type="text" class="inputbox" name="d_logoMaxHeight" value="<?php echo htmlspecialchars($dataPost['d_logoMaxHeight']);?>"/>
                         <?php 
                        echo form_error('d_logoMaxHeight'); 
                        ?>
            </span>
            
            <span class="relative">
                <label><?php echo form_label('Logo Padding:'); ?> </label>
                 <input type="text" class="inputbox" name="d_logoPadding" value="<?php echo htmlspecialchars($dataPost['d_logoPadding']);?>"/>
                        <?php 
                        echo form_error('d_logoPadding'); 
                        ?>
            </span>
            
            <span class="relative">
                 <input type="submit" name="ok" class="button" value="Update" />
                 <input type="button" name="btnBack" class="button" value="Back" onclick="window.location.href='<?php echo base_url() ?>index.php/administrator/device/index'" />
           </span>
     </div>
     
    <?php    
     echo form_fieldset_close(); ?>
</div>